package com.gdk.auth.domain.convert;

import com.gdk.auth.domain.entity.AuthRoleBO;
import com.gdk.auth.domain.entity.AuthUserBO;
import com.gdk.auth.infra.basic.entity.AuthRole;
import com.gdk.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色bo转换器
 *
 * @author Gudong~
 * @create 2024-10-21 16:01
 */

@Mapper
public interface AuthRoleBOConverter {

    AuthRoleBOConverter INSTANCE = Mappers.getMapper(AuthRoleBOConverter.class);

    AuthRole convertBoToEntity(AuthRoleBO authRoleBO);

}
